namespace EFMysql
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("www_test.pre_orderlist")]
    public partial class pre_orderlist
    {
        public int id { get; set; }

        public int orderid { get; set; }

        public decimal price { get; set; }

        [StringLength(50)]
        public string orderno { get; set; }

        [StringLength(50)]
        public string mailno { get; set; }

        [StringLength(100)]
        public string mailtype { get; set; }

        [StringLength(100)]
        public string buyerno { get; set; }

        [Column(TypeName = "text")]
        [StringLength(65535)]
        public string cmnremark { get; set; }

        public int? ordertime { get; set; }

        public int? mailtime { get; set; }

        public int createid { get; set; }

        public int? updateid { get; set; }

        public int createtime { get; set; }

        public int? updatetime { get; set; }

        [StringLength(100)]
        public string cardnum { get; set; }

        public int? ordersubstat { get; set; }

        public decimal? realpayprice { get; set; }

        [StringLength(50)]
        public string buyername { get; set; }
    }
}
